package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.pojo.SkuInfo;
import com.atguigu.gmall.product.vo.SkuInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
* @author h8467
* @description 针对表【sku_info(库存单元表)】的数据库操作Service
* @createDate 2022-11-29 16:02:29
*/
public interface SkuInfoService extends IService<SkuInfo> {

    void saveSkuInfo(SkuInfoVo skuInfoVo);

    SkuInfo getSkuInfo(Long skuId);

    BigDecimal getPrice(Long skuId);

    void upGoods(Long skuId);

    void downGoods(Long skuId);
}
